
import http from '../util/http';

const getOpenId = data => http.getData(data, '/api/auth/getOpenId');
const getUserInfo = data => http.getData(data, '/api/auth/getUserInfo');

export default {
  getOpenId,
  getUserInfo,
};
